package com.tl.khadmin.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpSession;

import com.tl.khadmin.bean.Supplier;
import com.tl.khadmin.bean.SupplierBankAccount;
import com.tl.khadmin.page.Page;

public interface SupplierIService {

	public List<Supplier> listSupplier(Map<String, Object> param);

	public Page<Supplier> showSupplierByPage(HttpSession session, Integer pageNum, Integer pageSize,
			Map<String, Object> params);

	String deleteByIds(String ids);

	public Map<String, Object> querySupplierById(Long id);

	public String auditSupplier(HttpSession session, Supplier supplier);

	public String updateSupplierStatus(Supplier supplier);

	public String deleteSupplier(Supplier supplier);

	public String updateSupplier(HttpSession session, Supplier supplier);

	public Page<SupplierBankAccount> showBankaccountByPage(HttpSession session, Integer pageNum, Integer pageSize,
			Map<String, Object> params);

	public String auditSupplierBankAccount(HttpSession session, SupplierBankAccount bankAccount);
}
